package net.system.sys.action;

import net.core.base.struts.BaseAction;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

@Namespace("/test")
@ParentPackage("struts-default")
public class TestAction extends BaseAction {
	private String name;
	@Action(value = "test", results = { @Result(name = "success", location = "/WEB-INF/pages/system/main/Main.jsp") })
	public String test() {
		return SUCCESS;
	}
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
